{% set directionToggle = direction == 'desc' ? 'asc' : 'desc'  %}
<a href="{{ path(path, {sort: sort, direction: directionToggle}) }}">
  {{ title }}
</a>
<span class="glyphicon glyphicon-arrow-down text-sm gray-light 
  {% if sort == querySort and direction == 'desc' %}
    gray-darker text-normal 
  {% endif %}" 
aria-hidden="true">
</span><span class="glyphicon glyphicon-arrow-up text-sm gray-light 
  {% if sort == querySort and direction == 'asc' %}
    gray-darker text-normal 
  {% endif %}" 
aria-hidden="true">
</span>